<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:c="http://java.sun.com/jstl/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui"
	xmlns:ui="http://java.sun.com/jsf/facelets">

	<h:form>
		<span id="up_left"> EASY ERP SYSTEM </span>
		<span id="up_right">
			<img src="#{request.contextPath}/images/user.gif" /> 当前用户：<h:outputText value="#{loginBean.user.name}" />
			<p:spacer width="10" />
			<img src="#{request.contextPath}/images/icons/mytable.gif" /> 桌面
			<img src="#{request.contextPath}/images/icons/help.gif" /> 帮助
			<img src="#{request.contextPath}/images/icons/exit.gif" />
			<h:commandLink action="#{loginBean.logout()}" value="注销" style="color: white"/> <p:spacer width="15" />
		</span>
	</h:form>
</ui:composition>